package com.irdstudio.efp.limit.service.dao;

import java.util.List;

import com.irdstudio.efp.limit.service.domain.LmtUnfreezeApp;
import com.irdstudio.efp.limit.service.vo.LmtUnfreezeAppVO;
/**
 * <p>DAO interface:额度解冻申请表				<p>
 * @author fuzm
 * @date 2018-06-09
 */
public interface LmtUnfreezeAppDao {
	
	public int insertLmtUnfreezeApp(LmtUnfreezeApp lmtUnfreezeApp);
	
	public int deleteByPk(LmtUnfreezeApp lmtUnfreezeApp);
	
	public int updateByPk(LmtUnfreezeApp lmtUnfreezeApp);
	
	public LmtUnfreezeApp queryByPk(LmtUnfreezeApp lmtUnfreezeApp);
	
	public List<LmtUnfreezeApp> queryAllOwnerByPage(LmtUnfreezeAppVO lmtUnfreezeApp);
	
	public List<LmtUnfreezeApp> queryAllCurrOrgByPage(LmtUnfreezeAppVO lmtUnfreezeApp);
	
	public List<LmtUnfreezeApp> queryAllCurrDownOrgByPage(LmtUnfreezeAppVO lmtUnfreezeApp);
	/**
	 * 查询授信协议编号下的解冻记录
	 * @param lmtUnfreezeApp
	 * @return
	 */
	public List<LmtUnfreezeApp> queryLmtUnfreByLmtNoByPage(LmtUnfreezeAppVO lmtUnfreezeApp);

	public int queryAppStatusCountByLmtContNo(LmtUnfreezeAppVO unfreezeVO);
	/**
	 * 更新审批信息
	 * @param lmtunfreezeApp
	 * @return
	 */
	public int updateApproveStatusByPk(LmtUnfreezeApp lmtunfreezeApp);
}
